//
//  NotConnectedV.swift
//  Employee
//
//  Created by swordjoy on 2017/4/6.
//  Copyright © 2017年 remotevillage. All rights reserved.
//

import UIKit

class NotConnectedV: UIView {

  fileprivate var tipImageV: UIImageView!
  fileprivate var tip: UILabel!

  override init(frame: CGRect) {
    super.init(frame: frame)
    
    backgroundColor = UIColor.white
    
    
    
  }
  
  required init?(coder aDecoder: NSCoder) {
    fatalError("init(coder:) has not been implemented")
    
  }
  
}

// MARK: - fileprivate

extension NotConnectedV {
  
  fileprivate func create() {
    
    tip = UILabel()
    addSubview(tip)
    tip.font = GlobalConfig.system15Font
    tip.textColor = UIColor.white
    tip.snp.makeConstraints { (make) in
      make.centerY.equalToSuperview()
    }
    
    tipImageV = UIImageView()
    tipImageV.image = UIImage(named: "")
    addSubview(tipImageV)
    tipImageV.snp.makeConstraints { (make) in
      make.width.equalTo(20)
      make.height.equalTo(17)
    }
    
  }
  
}
